﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QlrrPrintService.Common.Command
{
    public class ResetCommand : IToTSPLCommand
    {
        
        public byte[] ToTSPLCommandByte(int mm_to_dot)
        {
            var command = new byte[] { 0x1B,0x21,0x52,0x0A,0x0D};
            return command;
        }

        public string ToTSPLCommandAscii(int mm_to_dot)
        {
            return System.Text.ASCIIEncoding.ASCII.GetString(ToTSPLCommandByte(mm_to_dot));
        }
    }
}
